//注销
function logOut(option) {
    var defaults = {
        project_name:""
    }
    $.extend(defaults,option);
    $.ajax({
        url:defaults.project_name+"/LoginServlet?methodName=logOut",
        data:{},
        type:"post",
        success:function(result){
            var state = result.state;
            if(state == '200'){
                location.href=defaults.project_name+"/index.jsp";
            }
        }
    });
}